file(GLOB DOCK_SOURCES "*.cpp")
file(GLOB DOCK_HEADERS "*.h")
file(GLOB DOCK_QRCFILES "*.qrc")

list(REMOVE_ITEM DEFAULT_DEFINES
    QT_NO_JAVA_STYLE_ITERATORS
    QT_RESTRICTED_CAST_FROM_ASCII
    QT_NO_CAST_TO_ASCII
)

add_qtc_library(qxdock
  VERSION 0.2.0
  DEFINES QX_DOCK_LIBRARY
  DEPENDS Qt5::Core Qt5::Widgets
  SOURCES
    ${DOCK_SOURCES}
    ${DOCK_HEADERS}
    ${DOCK_QRCFILES}
)
